﻿using System;
using WeDonekRpc.Client.Log;
using WeDonekRpc.PipeServer.Interface;

namespace WeDonekRpc.Client
{
    internal class PipeEvent : IPipeEvent
    {
        public bool ClientBuildConnect (Guid clientId, string clientName, string[] arg, out string bindParam, out string error)
        {
            RpcLogSystem.AddConLog(clientName);
            bindParam = arg[0];
            error = null;
            return true;
        }

        public void ClientConnectClose (Guid clientId, string bindParam)
        {
        }
    }
}
